how to change primary switch